package com.dk.service.impl;

import com.dk.mapper.LoggerMapper;
import com.dk.pojo.Logger;
import com.dk.service.LoggerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoggerServiceImpl implements LoggerService {

    @Autowired
    private LoggerMapper loggerMapper;

    @Override
    public void addLogger(Logger logger) {
        loggerMapper.insertSelective(logger);
    }
}